package com.qing.expert.modules.user.vo.request;

import jakarta.validation.constraints.Pattern;
import lombok.Data;

@Data
public class UserUpdateRequest {
    private String nickName;
    private String avatarUrl;

    @Pattern(regexp = "^[a-zA-Z0-9_-]{6,20}$", message = "微信号格式不正确")
    private String wxAccount;

    @Pattern(regexp = "^1[3-9]\\d{9}$", message = "手机号格式不正确")
    private String phone;
}